# app/utils/request_utils.py
from fastapi import Request

async def get_user_params(request: Request):
    if request.method == "POST":
        return await request.form()
    elif request.method == "GET":
        return request.query_params
    return {}